<%-- <%@page import="com.po.User"%>
<%@page import="java.util.List"%>
<%@page import="com.po.Shopping_order"%> --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>我的订单</title>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
</head>
<body>
<jsp:include page="/center/header.jsp"></jsp:include>
	<jsp:include page="/center/left.jsp" flush="true"></jsp:include>
  <!--right-->
    <div class="centers_mr">
<%--     <%User user = (User)request.getSession().getAttribute("user"); %>
  
     <h1 class="welcom_tm">欢迎您，尊敬的用户     <font><%=user.getUsername() %></font>！当前时间为 <label id="show">显示时间的位置</label></h1>
     --%><script type="text/javascript">
//获得当前时间,刻度为一千分一秒
var initializationTime=(new Date()).getTime();
function showLeftTime()
{
var now=new Date();
var year=now.getYear()+1900;
var month=now.getMonth();
var day=now.getDate();
var hours=now.getHours();
var minutes=now.getMinutes();
var seconds=now.getSeconds();
document.getElementById("show").innerHTML=""+year+"年"+month+"月"+day+"日 "+hours+":"+minutes+":"+seconds+"";
//一秒刷新一次显示时间
var timeID=setTimeout(showLeftTime,1000);
}
showLeftTime();
</script>  <div class="public_m1">
            <div class="public_m2">我的订单</div>
            <!--一个订单信息-->
            <div class="public_m5">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                         <tr style=" border-bottom:1px solid #000">       
                            <th class="olist1">订单号</th>       
                            <th class="olist2">订单来源</th>       
                            <th class="olist3">订单总额</th>        
                            <th class="olist4">下单时间</th>        
                            <th class="olist5">交易状态</th>
                            <th class="olist6">操作</th>
                <%--         </tr>   
					<% List<Shopping_order> orders =(List<Shopping_order>) request.getAttribute("orders"); 
                      		if(orders != null){
                      			for(Shopping_order order : orders){
	                   %>
                      
                        <tr>        
                            <td><a href="#"><%=order.getId() %></a></td>    
                            <td><a href="<%=path %>/v2/index.jsp" target="_blank">星韵舞蹈</a></td>       
                            <td>￥<%=order.getPrice() %></td>
                            <td><%=order.getCreate_time() %></td>
                            <%if(order.getStatus()!=null && order.getStatus().contains("待付款")){%>
                            <td><font class="jdqbsys_m"><%=order.getStatus() %></font></td>                                 
                            <%}else{ %>
                            <td><font class="jds_m"><%=order.getStatus() %></font></td>                                 
                            <%} %>
                            <td><a href="#">付款</a><a href="#">取消订单</a></td>
                        </tr>
                        <%}} %> --%>
                    </tbody>
                </table>
            </div>
            <!--查看更多-->
            <div class="chagd_m">
                <a href="http://www.sucaihuo.com/modals/10/1071/demo/#">查看更多</a>
            </div>
        </div>
                                                   
    </div>
</body>
</html>